#!/bin/bash

mkfifo fifotest
awk '{print "1 " $0}' < fifotest
awk '{print "2 " $0}' < fifotest
awk '{print "3 " $0}' < fifotest
echo "fifo test" | tee fifotest | awk '{print "4 " $0}'

